package com.synnex.mobile.servier.core.content.dao;

import com.synnex.mobile.servier.core.content.dto.Content;
import com.synnex.mobile.servier.core.content.dto.Groups;

import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: kerryf
 * To change this template use File | Settings | File Templates.
 */
public interface ContentDao {

    List<Content> getContentByType(String type);

    List<Content> getContent();

    List<Content> getContentByGroup(Integer groupId);

    List<Content> getSessionByDayAndSection(Date date,String section);

    Content getCompanyIntro();

    Content getContentById(Integer id);

    Groups getGroupById(Integer id);

    List<Groups> getGroupList();

    void saveContent(Content content);
    void editContent(Content content);

    void deleteContentById(int id);



}
